//
//  ShopCartViewController.m
//  LoveFreshBeen
//
//  Created by 辛路琦 on 16/6/11.
//  Copyright © 2016年 xinluqi. All rights reserved.
//

#import "ShopCartViewController.h"
#import "UIBarButtonItem+State.h"

@interface ShopCartViewController ()

@end

@implementation ShopCartViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    self.navigationItem.leftBarButtonItem =
    [UIBarButtonItem barButtonItemWithNormalImage:[UIImage imageNamed:@"v2_goback"]
                                 HighlightedImage:nil
                                           target:self
                                           action:@selector(back)];

    
}

- (void)back
{
    [self.navigationController dismissViewControllerAnimated:YES completion:nil];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
